package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel(value = "出车司机司机信息查询")
public class DriverServiceLogQueryWrapper extends Page<DriverServiceLogQueryWrapper> {
    public DriverServiceLogQueryWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "任务时间")
    private String date;

    @ApiModelProperty(value = "行政区id")
    private Long cantonId;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "行政区ids")
    private List<Long> cantonIds;
    @ApiModelProperty(value = "公司ids")
    private List<Long> companyIds;
}
